package com.leruan.aasimp.dao;

import java.util.List;

import com.leruan.aasimp.entity.CarMaintenanceRecord;

public interface MaintainDao {
	
	void addMaintain(CarMaintenanceRecord maintenanceRecord);
	
	void updateMaintain(CarMaintenanceRecord maintenanceRecord);

	CarMaintenanceRecord getMaintainByMID(Long maintainId);

	List<CarMaintenanceRecord> getMaintains();

	List<CarMaintenanceRecord> getMaintainByUm(String handperson);

	List<CarMaintenanceRecord> getMaintainByVin(String vin);

}
